package com.fit.americanChoppers.pages;

import org.apache.tapestry5.annotations.*;

public class ViewError {
	@Persist
	private String passedMessage;

	public String getPassedMessage()
	{
		return passedMessage;
	}

	public void setPassedMessage(String passedMessage)
	{
		this.passedMessage = passedMessage;
	}
	
	public String getErrorMessage()
	{
		return this.passedMessage;
	}
	
	public void onActivate(String message)
	{
		this.passedMessage = message;
	}
	
public 	String onPassivate()
	{
		return passedMessage;
	}
}
